package dancespeedymodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceEffectConfig 特效配置表
type DanceEffectConfig struct {
	Id           int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	EffectNo     int64          `json:"effectNo" gorm:"column:effect_no;type:bigint;default:0;not null;comment:特效编号"`
	EffectName   string         `json:"effectName" gorm:"column:effect_name;type:varchar(256);not null;default:'';comment:特效名"`
	EffectType   int64          `json:"effectType" gorm:"column:effect_type;type:bigint;default:0;not null;comment:特效类型 0:单人效果 1:双人效果"`
	ClientGiftId int64          `json:"clientGiftId" gorm:"column:client_gift_id;type:bigint;default:0;not null;comment:客户端礼物id"`
	CreatedId    int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`
	UpdateId     int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`
	CreatedAt    time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt    time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt    gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
